package com.example.hrmsaas.system.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hrmsaas.system.entity.Role;
import com.example.hrmsaas.system.utils.DataGridView;
import com.example.hrmsaas.system.utils.vo.RoleVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 雷哥
 * @since 2021-07-16
 */
public interface IRoleService extends IService<Role> {

    DataGridView getRoleList(RoleVo modelsVo);

    boolean addRold(Role role);

    boolean editRold(Role role);

    boolean delRold(String id);

    DataGridView getRoleInfoById(String id);

    DataGridView getRoleListAll(RoleVo modelsVo);

    boolean setPrem(String userId, List<String> prmeIds);
}
